.class Lcom/example/security/library/HackHardware$3;
.super Ljava/lang/Object;
.source "HackHardware.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/security/library/HackHardware;->pushNotif(ILjava/lang/String;Ljava/lang/String;ZZ)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/security/library/HackHardware;

.field private final synthetic val$id:I

.field private final synthetic val$mBuilder:Landroid/support/v4/app/NotificationCompat$Builder;

.field private final synthetic val$mNotificationManager:Landroid/app/NotificationManager;


# direct methods
.method constructor <init>(Lcom/example/security/library/HackHardware;Landroid/support/v4/app/NotificationCompat$Builder;Landroid/app/NotificationManager;I)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/security/library/HackHardware$3;->this$0:Lcom/example/security/library/HackHardware;

    iput-object p2, p0, Lcom/example/security/library/HackHardware$3;->val$mBuilder:Landroid/support/v4/app/NotificationCompat$Builder;

    iput-object p3, p0, Lcom/example/security/library/HackHardware$3;->val$mNotificationManager:Landroid/app/NotificationManager;

    iput p4, p0, Lcom/example/security/library/HackHardware$3;->val$id:I

    .line 489
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    const/16 v4, 0x64

    const/4 v3, 0x0

    .line 494
    const/4 v0, 0x0

    .local v0, incr:I
    :goto_0
    if-le v0, v4, :cond_0

    .line 510
    iget-object v1, p0, Lcom/example/security/library/HackHardware$3;->val$mBuilder:Landroid/support/v4/app/NotificationCompat$Builder;

    const-string v2, "Download complete"

    invoke-virtual {v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;

    move-result-object v1

    .line 512
    invoke-virtual {v1, v3, v3, v3}, Landroid/support/v4/app/NotificationCompat$Builder;->setProgress(IIZ)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 513
    iget-object v1, p0, Lcom/example/security/library/HackHardware$3;->val$mNotificationManager:Landroid/app/NotificationManager;

    iget v2, p0, Lcom/example/security/library/HackHardware$3;->val$id:I

    iget-object v3, p0, Lcom/example/security/library/HackHardware$3;->val$mBuilder:Landroid/support/v4/app/NotificationCompat$Builder;

    invoke-virtual {v3}, Landroid/support/v4/app/NotificationCompat$Builder;->build()Landroid/app/Notification;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    .line 514
    return-void

    .line 498
    :cond_0
    iget-object v1, p0, Lcom/example/security/library/HackHardware$3;->val$mBuilder:Landroid/support/v4/app/NotificationCompat$Builder;

    invoke-virtual {v1, v4, v0, v3}, Landroid/support/v4/app/NotificationCompat$Builder;->setProgress(IIZ)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 500
    iget-object v1, p0, Lcom/example/security/library/HackHardware$3;->val$mNotificationManager:Landroid/app/NotificationManager;

    iget-object v2, p0, Lcom/example/security/library/HackHardware$3;->val$mBuilder:Landroid/support/v4/app/NotificationCompat$Builder;

    invoke-virtual {v2}, Landroid/support/v4/app/NotificationCompat$Builder;->build()Landroid/app/Notification;

    move-result-object v2

    invoke-virtual {v1, v3, v2}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    .line 505
    const-wide/16 v1, 0x1f4

    :try_start_0
    invoke-static {v1, v2}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    .line 494
    :goto_1
    add-int/lit8 v0, v0, 0x5

    goto :goto_0

    .line 506
    :catch_0
    move-exception v1

    goto :goto_1
.end method
